package com.zb;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties(prefix = "dynamic.thread-pool")
public class ThreadPoolProperties {

    /**
     * apollo配置命名空间
     */
    private String apolloNamespace;

    /**
     * 线程池默认队列容量
     */
    private Integer defaultQueueCapacity;

    /**
     * 是否启用监控指标
     */
    private Boolean metricsEnabled = true;
}
